package com.dushibao.admin.model;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 商品 实体类
 *
 * @author zqd
 *
 * @date 2021-12-10 10:02:21
 */
@Data
@Accessors(chain = true)
@TableName(value = "t_goods")
public class Goods {
        private static final long serialVersionUID = 1L;

        /** 主键ID **/
        @TableId(value = "id",type = IdType.AUTO)
        private Long id;

        /** 入库时间 **/
        @TableField(value = "addTime",fill = FieldFill.INSERT)
        private java.util.Date addTime;

        /** 是否删除,默认为0未删除，-1表示删除状态 **/
        @TableField(value = "deleteStatus")
        private Integer deleteStatus;

        /** 商品名称 **/
        @TableField(value = "goods_name")
        private String goodsName;

        /** 商品价格 **/
        @TableField(value = "goods_price")
        private java.math.BigDecimal goodsPrice;

        /** 商品销量 **/
        @TableField(value = "goods_salenum")
        private Integer goodsSalenum;

    
}
